package com.iflyun.LogsCustmerToHDFS.entity;

import java.io.Serializable;
import java.sql.Timestamp;







/**
 * 接口调用日志实体类
 * @author wuxiuyong
 *
 */

public class CallLog implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6603256935064628692L;

	/**
	 * 
	 */
	

	private String id;
	
	//用户key

	private String apiKey;
	
	//接口ID
	private String interfaceInfo;
	
	//用户ID

	private String user;
	
	//状态:成功（2字头）重定向（3字头）请求错误（4字头）服务器错误（5字头）
	private String status;
	
	//参数
	private String param;
	
	//开始时间
	private Timestamp creatTime;

	//结束时间

	private Timestamp updateTime;


	private String data;
	

	private String code;
	

	private String stu;
	
	private String msg;
	
	
	private String ip;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getApiKey() {
		return apiKey;
	}

	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public Timestamp getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Timestamp creatTime) {
		this.creatTime = creatTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public String getInterfaceInfo() {
		return interfaceInfo;
	}

	public void setInterfaceInfo(String interfaceInfo) {
		this.interfaceInfo = interfaceInfo;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}
	
	
 
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public CallLog(){}
	

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getStu() {
		return stu;
	}

	public void setStu(String stu) {
		this.stu = stu;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
